package com.example.comsys.model;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 雇员基本模型
 *
 * @author wjh
 * @date 2019/12/29, 周日
 */
@Getter
@Setter
@ToString(callSuper = true)
public class Employee extends EmployeeBase {

  /**
   * 雇员基本信息
   */
  private String sex;
  private int age;

  /**
   * 部门信息
   */
  private Department department;

  /**
   * 当前工作状态枚举
   */
  private WorkState state;

  /**
   * 联系类信息
   */
  private String phone;
  private String email;
  private String address;


  /**
   * 冗余工资模型中的基本工资&基本奖金，{@link Wage}，创建员工模型时必选项
   */
  private float baseSalary;
  private float baseBonus;


}
